﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;

namespace Defero.Model
{
    public class Product : PersistibleObject
    {
        #region Fields
        public string Name { get; set; }
        public decimal UnitPrice { get; set; }
        public ProductType Type { get; set; }
        public ProductBrand Brand { get; set; }
        #endregion
        #region Collections
        ObservableCollection<ServiceDependency> dependencies;
        public ICollection<ServiceDependency> Dependencies
        {
            get { return dependencies; }
        }
        #endregion
        #region Constructors
        public Product() 
        {
            dependencies = new ObservableCollection<ServiceDependency>();
        }
        #endregion
    }
}
